package com.fpt.edu.vn.h2tv.dto;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class UserInfo {
    private Long userId;
    private String userName;
    private String pwd;
    private String firstName;
    private String lastName;
    private String role;
    private String phone;
    private String address;
    private String avatar;
    private Boolean isBanned;
    private String email;
    
    
    public String getUserName() {
        return userName;
    }
    @XmlElement
    public void setUserName(String userName) {
        this.userName = userName;
    }

    
    public String getRole() {
        return role;
    }
    @XmlAttribute
    public void setRole(String role) {
        this.role = role;
    }
    /**
     * Get value of userId.
     * @return the userId
     */
    public Long getUserId() {
        return userId;
    }
    /**
     * Set the value for userId.
     * @param userId the userId to set
     */
    @XmlAttribute
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    /**
     * Get value of pwd.
     * @return the pwd
     */
    public String getPwd() {
        return pwd;
    }
    /**
     * Set the value for pwd.
     * @param pwd the pwd to set
     */
    @XmlElement
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
    /**
     * Get value of phone.
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }
    /**
     * Set the value for phone.
     * @param phone the phone to set
     */
    @XmlElement
    public void setPhone(String phone) {
        this.phone = phone;
    }
    /**
     * Get value of address.
     * @return the address
     */
    public String getAddress() {
        return address;
    }
    /**
     * Set the value for address.
     * @param address the address to set
     */
    @XmlElement
    public void setAddress(String address) {
        this.address = address;
    }
    /**
     * Get value of firstName.
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }
    /**
     * Set the value for firstName.
     * @param firstName the firstName to set
     */
    @XmlElement
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }
    /**
     * Get value of lastName.
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }
    /**
     * Set the value for lastName.
     * @param lastName the lastName to set
     */
    @XmlElement
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
    
    /**
     * Get value of avatar.
     * @return the avatar
     */
    public String getAvatar() {
        return avatar;
    }
    /**
     * Set the value for avatar.
     * @param avatar the avatar to set
     */
    @XmlElement
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    /**
     * Get value of isBanned.
     * @return the isBanned
     */
    public Boolean getIsBanned() {
        return isBanned;
    }
    /**
     * Set the value for isBanned.
     * @param isBanned the isBanned to set
     */
    @XmlElement
    public void setIsBanned(Boolean isBanned) {
        this.isBanned = isBanned;
    }
    /**
     * Get value of email.
     * @return the email
     */
    public String getEmail() {
        return email;
    }
    /**
     * Set the value for email.
     * @param email the email to set
     */
    @XmlElement
    public void setEmail(String email) {
        this.email = email;
    }
    
    

}
